/**
 *
 * Copyright (C) 2008  Igor Vdovichenko
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * Though a sincere effort has been made to deliver a professional,
 * quality product,the library itself is distributed WITHOUT ANY WARRANTY;
 * See the GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 */
package com.vin.scriptutils;

/**
 *
 * @author igor
 */
public class UString {

    public static final String LINE_SEPARATOR = System.getProperty("line.separator");
    public static final String UNIX_LINE_SEPARATOR = "\n";
    public static final String FILE_SEPARATOR = System.getProperty("file.separator");

    public static String getUnixRightPathString(String root, String fileName){
        return ("/".equals(root)) ? root + fileName : root +  "/" + fileName;
    }
}
